from access.core.utteranceinfo import Utterance
import unittest

class UtteranceTest(unittest.TestCase):
  def testConstruction (self):
    utterance = Utterance(value = 'utterance',
                          snippet_ID = 'snippet_ID')
    self.assertEqual(utterance.value,
                     'utterance',
                     'Utterance field not set correctly.')
    self.assertEqual(utterance.snippet_ID,
                     'snippet_ID',
                     'Snippet ID field not set correctly.')
